package map;

import org.junit.Test;

import java.util.Hashtable;
import java.util.Set;

public class HashTableTest {
    @Test
    public void method(){
        Hashtable<String, String> hashtable = new Hashtable<>();
        String put = hashtable.put("1", "1val");
        Set<String> set = hashtable.keySet();
        for (String s : set) {
            System.out.println(s);
        }
        System.out.println(put);
    }
}
